/*
 * note.java
 *
 * Created on August 11, 2007, 9:21 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.noteit.helper;

/**
 *
 * @author Owner
 */
public class note {
    
    private int noteid;
    private String subject;
    private String content;
    
    /** Creates a new instance of note */
    public note() {
    }
    
    public note(int noteid,String subject,String content){
        this.noteid=noteid;
        this.subject=subject;
        this.content=content;
    }

    public int getNoteid() {
        return noteid;
    }

    public void setNoteid(int noteid) {
        this.noteid = noteid;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public String toString(){
        String out = "id: "+noteid+"\nsubject: "+subject+"\ncontent: "+content;
        return out;
    }
    
}
